package com.cold.common.domain;

import com.cold.common.annotation.Excel;
import com.cold.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公司对象 cc_company
 * 
 * @author cold
 * @date 2024-02-29
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司id */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** 公司简称 */
    @Excel(name = "公司简称")
    private String abbr;

    /** 公司编码 */
    @Excel(name = "公司编码")
    private String code;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 公司电话 */
    @Excel(name = "公司电话")
    private String telephone;

    /** 管理人id */
    @Excel(name = "管理人id")
    private Long managerId;

    /** 网站 */
    @Excel(name = "网站")
    private String webSite;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAbbr(String abbr) 
    {
        this.abbr = abbr;
    }

    public String getAbbr() 
    {
        return abbr;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setManagerId(Long managerId) 
    {
        this.managerId = managerId;
    }

    public Long getManagerId() 
    {
        return managerId;
    }
    public void setWebSite(String webSite) 
    {
        this.webSite = webSite;
    }

    public String getWebSite() 
    {
        return webSite;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("abbr", getAbbr())
            .append("code", getCode())
            .append("address", getAddress())
            .append("telephone", getTelephone())
            .append("managerId", getManagerId())
            .append("webSite", getWebSite())
            .append("email", getEmail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
